package com.yic.module.mes.controller.admin.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 生产计划 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PlanRespVO extends PlanBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "6132")
    private Long id;

    @Schema(description = "排产数量")
    private BigDecimal produceAmount;

    @Schema(description = "计划状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "产品名称")
    private String itemName;

    @Schema(description = "产品代码")
    private String itemCode;

    @Schema(description = "规格")
    private String spec;

    @Schema(description = "产品图号")
    private String drawCode;

    @Schema(description = "工厂")
    private String factoryName;

    @Schema(description = "生产车间")
    private String workshopName;


}
